.class Lcom/estrongs/android/pop/app/compress/e$a;
.super Ljava/lang/Thread;
.source "CompressUtil.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/compress/e;->a()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/compress/e;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/compress/e;Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-direct {p0, p2}, Ljava/lang/Thread;-><init>(Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 11

    const-string v0, "7z"

    const/4 v1, 0x2

    const/4 v2, 0x0

    .line 1
    :try_start_0
    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v3}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;)Lcom/estrongs/android/pop/app/compress/c;

    move-result-object v3

    iget-object v3, v3, Lcom/estrongs/android/pop/app/compress/c;->d:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    const/16 v4, 0xa

    const/4 v5, 0x1

    const/4 v6, 0x0

    if-eqz v3, :cond_0

    .line 2
    sget-object v3, Lcom/estrongs/io/archive/sevenzip/b;->a:Ljava/lang/String;

    invoke-static {v6, v3}, Lcom/estrongs/io/archive/sevenzip/b;->a(Ljava/lang/Runnable;Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v0

    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v3}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v3

    invoke-virtual {v3, v5, v4, v2, v6}, Landroid/os/Handler;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v0, v2}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;Z)Z

    return-void

    .line 5
    :cond_0
    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v3}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;)Lcom/estrongs/android/pop/app/compress/c;

    move-result-object v3

    iget-object v3, v3, Lcom/estrongs/android/pop/app/compress/c;->a:Ljava/lang/String;

    .line 6
    iget-object v7, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v7}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v7

    invoke-virtual {v7, v3}, Les/y70;->b(Ljava/lang/String;)V

    .line 7
    iget-object v7, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v7}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;)Lcom/estrongs/android/pop/app/compress/c;

    move-result-object v7

    iget-object v7, v7, Lcom/estrongs/android/pop/app/compress/c;->b:Ljava/lang/String;

    const-string v8, "zip"

    .line 8
    iget-object v9, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v9}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;)Lcom/estrongs/android/pop/app/compress/c;

    move-result-object v9

    iget-object v9, v9, Lcom/estrongs/android/pop/app/compress/c;->d:Ljava/lang/String;

    invoke-virtual {v8, v9}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v8

    if-eqz v8, :cond_1

    .line 9
    invoke-virtual {v7}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_3

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    new-instance v7, Lcom/estrongs/io/archive/aeszip/c;

    iget-object v8, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v8}, Lcom/estrongs/android/pop/app/compress/e;->c(Lcom/estrongs/android/pop/app/compress/e;)Les/n80;

    move-result-object v8

    iget-object v9, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v9}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;)Lcom/estrongs/android/pop/app/compress/c;

    move-result-object v9

    iget-object v9, v9, Lcom/estrongs/android/pop/app/compress/c;->e:Ljava/util/Map;

    invoke-direct {v7, v3, v8, v9}, Lcom/estrongs/io/archive/aeszip/c;-><init>(Ljava/lang/String;Les/l80;Ljava/util/Map;)V

    iput-object v7, v0, Lcom/estrongs/android/pop/app/compress/e;->d:Les/f80;

    goto :goto_0

    .line 11
    :cond_1
    iget-object v8, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v8}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;)Lcom/estrongs/android/pop/app/compress/c;

    move-result-object v8

    iget-object v8, v8, Lcom/estrongs/android/pop/app/compress/c;->d:Ljava/lang/String;

    invoke-virtual {v0, v8}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    new-instance v8, Lcom/estrongs/io/archive/sevenzip/e;

    iget-object v9, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v9}, Lcom/estrongs/android/pop/app/compress/e;->c(Lcom/estrongs/android/pop/app/compress/e;)Les/n80;

    move-result-object v9

    invoke-virtual {v7}, Ljava/lang/String;->length()I

    move-result v10

    if-nez v10, :cond_2

    move-object v7, v6

    :cond_2
    invoke-direct {v8, v3, v9, v7}, Lcom/estrongs/io/archive/sevenzip/e;-><init>(Ljava/lang/String;Les/l80;Ljava/lang/String;)V

    iput-object v8, v0, Lcom/estrongs/android/pop/app/compress/e;->d:Les/f80;

    .line 13
    :cond_3
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/e;->d:Les/f80;

    if-nez v0, :cond_4

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    new-instance v7, Les/f80;

    iget-object v8, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v8}, Lcom/estrongs/android/pop/app/compress/e;->c(Lcom/estrongs/android/pop/app/compress/e;)Les/n80;

    move-result-object v8

    iget-object v9, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v9}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;)Lcom/estrongs/android/pop/app/compress/c;

    move-result-object v9

    iget-object v9, v9, Lcom/estrongs/android/pop/app/compress/c;->e:Ljava/util/Map;

    invoke-direct {v7, v3, v8, v9}, Les/f80;-><init>(Ljava/lang/String;Les/l80;Ljava/util/Map;)V

    iput-object v7, v0, Lcom/estrongs/android/pop/app/compress/e;->d:Les/f80;

    .line 15
    :cond_4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/e;->d:Les/f80;

    iget-object v7, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v7}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;)Lcom/estrongs/android/pop/app/compress/c;

    move-result-object v7

    iget-object v7, v7, Lcom/estrongs/android/pop/app/compress/c;->c:Ljava/util/List;

    invoke-virtual {v0, v7}, Les/f80;->a(Ljava/util/List;)V

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/e;->c(Lcom/estrongs/android/pop/app/compress/e;)Les/n80;

    move-result-object v0

    invoke-virtual {v0}, Les/n80;->a()Z

    move-result v0

    if-eqz v0, :cond_5

    .line 17
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v0, v2}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;Z)Z

    .line 18
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v0

    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v3}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v3

    invoke-virtual {v3, v5, v4, v2, v6}, Landroid/os/Handler;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto/16 :goto_4

    .line 19
    :cond_5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v0, v2}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;Z)Z

    .line 20
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v0

    iget-object v6, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v6}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v6

    invoke-virtual {v6, v5, v4, v2, v3}, Landroid/os/Handler;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;

    move-result-object v4

    invoke-virtual {v0, v4}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 21
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object v0

    invoke-virtual {v0, v3}, Les/p10;->a(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_2
    .catch Ljava/lang/NullPointerException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Lcom/estrongs/fs/FileSystemException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_4

    :catch_0
    move-exception v0

    goto :goto_1

    :catch_1
    move-exception v0

    goto :goto_2

    :catch_2
    move-exception v0

    goto :goto_3

    .line 22
    :goto_1
    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v3, v2}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;Z)Z

    .line 23
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v2

    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v3}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v3

    invoke-virtual {v0}, Lcom/estrongs/android/exception/AbstractException;->getMessage()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v1, v4}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 24
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_4

    .line 25
    :goto_2
    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v3, v2}, Lcom/estrongs/android/pop/app/compress/e;->a(Lcom/estrongs/android/pop/app/compress/e;Z)Z

    .line 26
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v2

    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v3}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v3

    invoke-virtual {v0}, Ljava/lang/NullPointerException;->getMessage()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v1, v4}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 27
    invoke-virtual {v0}, Ljava/lang/NullPointerException;->printStackTrace()V

    goto :goto_4

    .line 28
    :goto_3
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v2

    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/e$a;->a:Lcom/estrongs/android/pop/app/compress/e;

    invoke-static {v3}, Lcom/estrongs/android/pop/app/compress/e;->b(Lcom/estrongs/android/pop/app/compress/e;)Les/y70;

    move-result-object v3

    invoke-virtual {v0}, Ljava/io/IOException;->getMessage()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v1, v4}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 29
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    :goto_4
    return-void
.end method
